﻿using System;

namespace InfoJetSoft.Service.Util
{
	
	public class JetConstant
	{
		
		//可能会和其它冲突.
		public static readonly string JetId = "JetId";
		
		public static readonly string DocId = "xdoc";
		
		public static readonly string FormId = "xdoc_form";
		
		public static readonly string DataId = "xdoc_data";
		
		public static readonly string FrameId = "xdoc_frame";
		
		public static readonly string ViewId = "xdoc_view";

		public static readonly string StyleId = "xdoc_style";
		
		public static readonly string MenuId = "xdoc_menu";

		public static readonly string FucntionId = "xdoc_function";

		public static readonly string PreScriptId = "xdoc_prescript";

		public static readonly string ScriptId = "xdoc_script";

		public static readonly string FieldStyleId = "xdoc_fieldstyle";
		
		public static readonly string ArrowId = "xdoc_arrow";

		public static readonly string XmlId = "xdoc_xml";

		public static readonly string SchemaId = "xdoc_schema";

		public static readonly string FileTag = "_file";
		
		public static readonly string URI_XD = "http://schemas.microsoft.com/office/infopath/2003";
		
		public static readonly string URI_XSF = "http://schemas.microsoft.com/office/infopath/2003/solutionDefinition";

		public static readonly string URI_XSF2 = "http://schemas.microsoft.com/office/infopath/2006/solutionDefinition/extensions";

        //CID 0703 //2010.12.20 //Begin
        public static readonly string URI_XSF3 = "http://schemas.microsoft.com/office/infopath/2009/solutionDefinition/extensions";
        //CID 0703 //2010.12.20 //End
		
		public static readonly string URI_XDF = "http://schemas.microsoft.com/office/infopath/2003/xslt/formatting";
		
		public static readonly string URI_XSL = "http://www.w3.org/1999/XSL/Transform";
		
		public static readonly string URI_XMLNS = "http://www.w3.org/2000/xmlns/";
		
		public static readonly string URI_XSD = "http://www.w3.org/2001/XMLSchema";
		
		public static readonly string URI_XSI = "http://www.w3.org/2001/XMLSchema-instance";
		
		public static readonly string URI_XDFORMATTING = "http://schemas.microsoft.com/office/infopath/2003/xslt/formatting";
		
		public static readonly string URI_XDIMAGE = "http://schemas.microsoft.com/office/infopath/2003/xslt/xImage";
		
		public static readonly string URI_XDXDOC = "http://schemas.microsoft.com/office/infopath/2003/xslt/xDocument";

		public static readonly string URI_TARGETDOC = "http://schemas.microsoft.com/office/infopath/2003/aggregation-target";

		public static readonly string URI_XDDATE = "http://schemas.microsoft.com/office/infopath/2003/xslt/Date";

		public static readonly string URI_XDUTIL = "http://schemas.microsoft.com/office/infopath/2003/xslt/Util";

		public static readonly string URI_XDMATH = "http://schemas.microsoft.com/office/infopath/2003/xslt/Math";
		
		public static readonly string URI_XDMSXSL = "urn:schemas-microsoft-com:xslt";

		public static readonly string URI_IPAPP = "http://schemas.microsoft.com/office/infopath/2006/XPathExtension/ipApp";

		public static readonly string URI_DFS = "http://schemas.microsoft.com/office/infopath/2003/dataFormSolution";

		public static readonly string URI_D = "http://schemas.microsoft.com/office/infopath/2003/ado/dataFields";

		public static readonly string URI_Q = "http://schemas.microsoft.com/office/infopath/2003/ado/queryFields";

        //CID 0703 //2010.12.19 //Begin
        public static readonly string URI_RWD = "http://schemas.microsoft.com/office/infopath/2009/WSSList/dataFields";
        public static readonly string URI_RWQ = "http://schemas.microsoft.com/office/infopath/2009/WSSList/queryFields";
        //CID 0703 //2010.12.19 //End

		public static readonly string URI_DIFFGR = "urn:schemas-microsoft-com:xml-diffgram-v1";

		public static readonly string URI_MSDATA = "urn:schemas-microsoft-com:xml-msdata";

		public static readonly string URI_XDADO = "http://schemas.microsoft.com/office/infopath/2003/adomapping";

		//CID 0500 //2010.01.19 //Begin
		public static readonly string URI_XDEXTENSION = "http://schemas.microsoft.com/office/infopath/2003/xslt/extension";
		//CID 0500 //2010.01.19 //End

		public static readonly string InfoJetADORecOrder = "xdado:ijaro";

		public static readonly string InfoJetADORecOrderLocalName = "ijaro";

		public static readonly string InfoJetOriginalTableName = "InfoJetOriginalTableName";
		
		public static readonly string XDOC_PARAM_XSN_URI = "xdoc_param_xsn_uri";
		
		public static readonly string XDOC_PARAM_ACTION = "xdoc_param_action";
		
		public static readonly string XDOC_PARAM_COMMAND = "xdoc_param_command";

		public static readonly string XDOC_PARAM_REBUILD_COMMAND = "xdoc_param_rebuild_command";
		
		public static readonly string XDOC_PARAM_XML = "xdoc_param_xml";
		
		public static readonly string XDOC_PARAM_XML_TO_EDIT_NAME = "xdoc_param_xml_to_edit_name";
		
		public static readonly string XDOC_PARAM_XML_TO_EDIT_ACTION = "xdoc_param_xml_to_edit_action";
		
		public static readonly string XDOC_PARAM_CONTEXT_ID_ARRAY = "xdoc_param_context_id_array";
		
		public static readonly string XDOC_PARAM_UPDATE_ID = "xdoc_param_update_id";

		public static readonly string XDOC_PARAM_UPDATE_FORMAT = "xdoc_param_update_format";

		public static readonly string XDOC_PARAM_FORM_ID = "xdoc_param_form_id";

		public static readonly string XDOC_PARAM_XML_VALUE_FORMATTED = "xdoc_param_xml_value_formatted";

		public static readonly string XDOC_PARAM_AUXDOM = "xdoc_param_auxdom";

		public static readonly string XDOC_PARAM_BUTTON = "xdoc_param_button";

		public static readonly string XDOC_PARAM_BUTTON_SOURCE = "xdoc_param_button_source";

		public static readonly string XDOC_PARAM_VIEW_ID = "xdoc_param_view_id";

		public static readonly string XDOC_PARAM_READONLY = "xdoc_param_readonly";
		
		public static readonly string XDOC_PARAM_MASTER_DETIAL = "xdoc_param_master_detial";

		public static readonly string XDOC_PARAM_MERGE_XML_ = "xdoc_param_merge_xml_";

		public static readonly string XDOC_PARAM_UNAUTH_NAME = "xdoc_param_unauth_name";

		public static readonly string XDOC_PARAM_UNAUTH_AUTH = "xdoc_param_unauth_auth";

		public static readonly string XDOC_PARAM_UNAUTH_REALM = "xdoc_param_unauth_realm";

		public static readonly string XDOC_PARAM_UNAUTH_USERNAME = "xdoc_param_unauth_username";

		public static readonly string XDOC_PARAM_UNAUTH_PASSWORD = "xdoc_param_unauth_password";

		public static readonly string XDOC_PARAM_UPLOADFILE_TYPE = "xdoc_param_uploadfile_type";

		public static readonly string XDOC_PARAM_INITIATOR_FORM = "xdoc_param_initiator_form";

		public static readonly string XDOC_PARAM_DATAOBJECT_XML = "xdoc_param_dataobject_xml_";

		public static readonly string XDOC_PARAM_AJAX_BRACKET = "xdoc_param_ajax_bracket";

		public static readonly string XDOC_PARAM_REPLACE_CONTEXT_MENU = "xdoc_param_replace_context_menu";

		public static readonly string XDOC_PARAM_DISPLAY_MENU_ARROW = "xdoc_param_display_menu_arrow";

		//CID 0213 //2009.01.22 //Begin
		public static readonly string XDOC_PARAM_OLD_VALUE = "xdoc_param_old_value";
		//CID 0213 //2009.01.22 //End

        //CID 0761 //2011.01.13 //Begin
        public static readonly string XDOC_PARAM_CACHED_IMAGE_NODE_ID_ARRAY = "xdoc_param_cached_image_node_id_array";
        //CID 0761 //2011.01.13 //End

		//CID 0236 //2009.03.03 //Begin
		public static readonly string XDOC_PARAM_MULTI_SELECT_LIST_ITEM_VALUE = "xdoc_param_multi_select_list_item_value";
		//CID 0236 //2009.03.03 //End
		//CID 0546 //2010.05.11 //Begin
		public static readonly string XDOC_PARAM_MULTI_SELECT_LIST_CONTEXT_ID = "xdoc_param_multi_select_list_context_id";
		//CID 0546 //2010.05.11 //End

		public static readonly string XDOC_DATA_LIST_ID_ARRAY = "xdoc_data_list_id_array";
		
		public static readonly string XDOC_DATA_NOBREAK_ID_ARRAY = "xdoc_data_nobreak_id_array";
		
		public static readonly string XDOC_DATA_MODAL_MESSAGE = "xdoc_data_modal_message";
		
		public static readonly string XDOC_DATA_SCHEMA_INVALIDATE_ID_ARRAY = "xdoc_data_schema_invalidate_id_array";
		
		public static readonly string XDOC_DATA_DATA_INVALIDATE_ID_ARRAY = "xdoc_data_data_invalidate_id_array";
		
		public static readonly string XDOC_DATA_DATA_INVALIDATE_MAP_ARRAY = "xdoc_data_data_invalidate_map_array";

		public static readonly string XDOC_DATA_DATEPICKER_ID_ARRAY = "xdoc_data_datepicker_id_array";

		public static readonly string XDOC_DATA_TEXTAREA_ID_ARRAY = "xdoc_data_textarea_id_array";
		
		public static readonly string XDOC_DATA_XD_PREFIX = "xdoc_data_xd_prefix";

		public static readonly string XDOC_DATA_SHORT_DATE_PATTERN = "xdoc_data_short_date_pattern";

		public static readonly string XDOC_DATA_LONG_DATE_PATTERN = "xdoc_data_long_date_pattern";

		public static readonly string XDOC_DATA_YEAR_MONTH_PATTERN = "xdoc_data_year_month_pattern";
		
		public static readonly string XDOC_DATA_XMLTOEDIT_NAME_ARRAY = "xdoc_data_xmltoedit_name_array";
		
		public static readonly string XDOC_DATA_ROOT_ELEMENT_ID = "xdoc_data_root_element_id";
		
		public static readonly string XDOC_DATA_MAX_LENGTH_LIST = "xdoc_data_max_length_list";

		public static readonly string XDOC_DATA_VALID_VIEW_BUTTON_LIST = "xdoc_data_valid_view_button_list";

		public static readonly string XDOC_DATA_VALID_VIEW_XMLTOEDIT_LIST = "xdoc_data_valid_view_xmltoedit_list";

		public static readonly string XDOC_DATA_ERROR = "xdoc_data_error";

		public static readonly string XDOC_DATA_MENU = "xdoc_data_menu";

		public static readonly string XDOC_DATA_XML = "xdoc_data_xml";

		public static readonly string XDOC_MailEnvelope = "xdoc_mailenvelope";

		public static readonly string XDOC_PrintSetting = "xdoc_printSetting";
		
		public static readonly string PI = "pi";
		
		public static readonly string PIPREFIX = DocId + "_" + PI + "_";
		
		public static readonly string ID_SEPARATOR = ";";
		
		public static readonly string INNER_SEPARATOR = ",";
		
		public static readonly string XD_xctname = "xctname";
		
		public static readonly string XD_binding = "binding";
		
		public static readonly string XD_action = "action";

		public static readonly string XD_xmlToEdit = "xmlToEdit";

		public static readonly string XD_CtrlId = "CtrlId";
		
		public static readonly string XCT_PlainText = "PlainText";
		
		public static readonly string XCT_RichText = "RichText";

		public static readonly string XCT_combobox = "combobox";
		
		public static readonly string XCT_ListBox = "ListBox";

		public static readonly string XCT_multiselectlistbox = "multiselectlistbox";
		
		public static readonly string XCT_DTPicker_DTText = "DTPicker_DTText";
		
		public static readonly string XCT_CheckBox = "CheckBox";
		
		public static readonly string XCT_OptionButton = "OptionButton";
		
		public static readonly string XCT_LinkedImage = "LinkedImage";

		public static readonly string XCT_InlineImage = "InlineImage";

		//CID 0499 //2010.03.17 //Begin
		public static readonly string XCT_inkpicture = "inkpicture";
		//CID 0499 //2010.03.17 //End
		
		public static readonly string XCT_ExpressionBox = "ExpressionBox";
		
		public static readonly string XCT_ListItem_Plain = "ListItem_Plain";
		
		public static readonly string XCT_BulletedList = "BulletedList";
		
		public static readonly string XCT_NumberedList = "NumberedList";
		
		public static readonly string XCT_PlainList = "PlainList";
		
		public static readonly string XCT_Section = "Section";
		
		public static readonly string XCT_RepeatingSection = "RepeatingSection";
		
		public static readonly string XCT_choicegroup = "choicegroup";
		
		public static readonly string XCT_FileAttachment = "FileAttachment";

		public static readonly string XCT_hyperlink = "hyperlink";

        //CID 0638 //2010.08.07 //Begin
        public static readonly string XCT_HyperlinkBox = "HyperlinkBox";
        //CID 0638 //2010.08.07 //End

		public static readonly string XCT_LayoutRegion = "LayoutRegion";

		public static readonly string InfoJetExprBox = "InfoJetExprBox";

		public static readonly string InfoJetHyperLink = "InfoJetHyperLink";

		public static readonly string InfoJetPlaceholder = "InfoJetPlaceholder";
		
		public static readonly string HTML_disabled = "disabled";

		public static readonly string HTML_readonly = "readonly";
		
		public static readonly string HTML_true = "true";
		
		public static readonly string HTML_false = "false";
		
		public static readonly string HTML_id = "id";

		public static readonly string HTML_a = "a";
		
		public static readonly string HTML_name = "name";
		
		public static readonly string HTML_span = "span";
		
		public static readonly string HTML_div = "div";
		
		public static readonly string HTML_input = "input";
		
		public static readonly string HTML_textarea = "textarea";
		
		public static readonly string HTML_select = "select";
		
		public static readonly string HTML_value = "value";
		
		public static readonly string CMP_xField = "xField";
		
		public static readonly string CMP_xTextList = "xTextList";    
		
		public static readonly string CMP_xOptional = "xOptional";
		
		public static readonly string CMP_xCollection = "xCollection";
		
		public static readonly string CMP_xReplace = "xReplace";
		
		public static readonly string CMP_xImage = "xImage";

		public static readonly string CMP_xFileAttachment = "xFileAttachment";
		
		public static readonly string xField_Plain = "plain";
		
		public static readonly string xField_PlainMultiline = "plainMultiline";
		
		public static readonly string xField_Formatted = "formatted";
		
		public static readonly string xField_FormattedMultiline = "formattedMultiline";
		
		public static readonly string xField_Rich = "rich";
		
		public static readonly string CMD_BUILD_BY = "Build_";
		
		public static readonly string CMD_BUILD_BY_TEMPLATE = CMD_BUILD_BY + "Template";
		
		public static readonly string CMD_BUILD_BY_XML = CMD_BUILD_BY + "XML";

		public static readonly string CMD_BUILD_BY_MERGER = CMD_BUILD_BY + "MERGER";

		public static readonly string CMD_BUILD_BY_TEMPLATEMERGER = CMD_BUILD_BY + "TEMPLATEMERGER";
		
		public static readonly string CMD_BUILD_BY_PARAMETERS = CMD_BUILD_BY + "Parameters";
		
		public static readonly string CMD_UPDATE = "Update_";
		
		public static readonly string CMD_UPDATE_View = CMD_UPDATE + "View";

		public static readonly string CMD_UPDATE_Rebuild = CMD_UPDATE + "Rebuild";
		
		public static readonly string CMD_UPDATE_XmlToEdit = CMD_UPDATE + "XmlToEdit";

		public static readonly string CMD_UPDATE_Query = CMD_UPDATE + "Query";

		public static readonly string CMD_UPDATE_New = CMD_UPDATE + "New";

		public static readonly string CMD_UPDATE_Refresh = CMD_UPDATE + "Refresh";

		public static readonly string CMD_UPDATE_Submit = CMD_UPDATE + "Submit";

		public static readonly string CMD_UPDATE_Button = CMD_UPDATE + "Button";

		public static readonly string CMD_UPDATE_File = CMD_UPDATE + "File";

		//CID 0499 //2010.03.18 //Begin
		public static readonly string CMD_UPDATE_LoadInkPictures = CMD_UPDATE + "LoadInkPictures";
		//CID 0499 //2010.03.18 //End

        //CID 0656 //2010.10.21 //Begin
        public static readonly string CMD_UPDATE_SearchPrincipals = CMD_UPDATE + "SearchPrincipals";
        public static readonly string CMD_UPDATE_AddPrincipals = CMD_UPDATE + "AddPrincipals";
        //added by lishuchao 2011.11.10 //Begin
        public static readonly string CMD_UPDATE_UpdatePrincipals = CMD_UPDATE + "UpdatePrincipals";
        //added by lishuchao 2011.11.10 //End
        public static readonly string CMD_UPDATE_DeletePrincipal = CMD_UPDATE + "DeletePrincipal";
        //CID 0656 //2010.10.23 //End

        //CID 0657 //2010.12.09 //Begin
        public static readonly string CMD_UPDATE_AddEXIItems = CMD_UPDATE + "AddEXIItems";
        public static readonly string CMD_UPDATE_DeleteEXIItem = CMD_UPDATE + "DeleteEXIItem";
        public static readonly string CMD_UPDATE_SearchEXIItems = CMD_UPDATE + "SearchEXIItems";
        //CID 0657 //2010.12.15 //End

        //CID 0749 //2011.08.30 //Begin
        public static readonly string CMD_UPDATE_PrepareSignature = CMD_UPDATE + "PrepareSignature";
        public static readonly string CMD_UPDATE_AddSignature = CMD_UPDATE + "AddSignature";
        public static readonly string CMD_UPDATE_DeleteSignature = CMD_UPDATE + "DeleteSignature";
        public static readonly string CMD_UPDATE_ViewSignature = CMD_UPDATE + "ViewSignature";
        //CID 0749 //2011.09.16 //End

        //CID 0800 //2011.03.15 //Begin
        public static readonly string CMD_UPDATE_LoadDropdownListItems = CMD_UPDATE + "LoadDropdownListItems";
        //CID 0800 //2011.03.15 //End

		public static readonly string ACT_Remove = "remove";
		
		public static readonly string ACT_Insert = "insert";
		
		public static readonly string ACT_InsertBefore = "insertBefore";
		
		public static readonly string ACT_InsertAfter = "insertAfter";
		
		public static readonly string ACT_RemoveAll = "removeAll";
		
		public static readonly string ACT_Replace = "replace";
		
		public static readonly string ACT_Split = "split";
		
		public static readonly string ACT_Merge = "merge";
		
		public static readonly string ACT_NewItem = "newItem";
		
		public static readonly string ACT_DeleteItem = "deleteItem";
		
		public static readonly short XSD_OK = 5;
		
		public static readonly string MNU_MENU = "menu";
		
		public static readonly string MNU_BUTTON = "button";
		
		public static readonly string MNU_SEPARATOR = "separator";
		
		public static readonly string MNU_ACT_SWITCHVIEW = "switchView";
		
		public static readonly string MNU_ACT_NOERRORFORMATTING = "noErrorFormatting";

		public static readonly string MNU_ACT_PRINTABLEVERSION = "printableVersion";
		
		public static readonly string MNU_ACT_NONE = "none";

		public static readonly string MNU_ACT_OPEN = "open";

		public static readonly string MNU_ACT_SAVEAS = "saveAs";
		
		public static readonly string CONTEXT_MENU_ID = "xdoc.contextmenu";
		
		public static readonly string HTML_LOGIC_TAGS = "logic_tags";

		public static readonly string HTML_SERVER_CONTROL = "server_control";

		public static readonly string HTML_SCHEMA_TYPE = "schema_type";

		public static readonly string HTML_SCHEMA_NILLABLE = "schema_nillable";

		public static readonly string HTML_SCHEMA_MINLENGTH = "schema_minLength";

		public static readonly string HTML_SCHEMA_MAXLENGTH = "schema_maxLength";

		public static readonly string HTML_SCHEMA_MININCLUSIVE = "schema_minInclusive";

		public static readonly string HTML_SCHEMA_MAXINCLUSIVE = "schema_maxInclusive";

		public static readonly string HTML_DUPLICATE_ID = "duplicate_id";

		public static readonly string HTML_SUBMIT_BUTTON = "submit_button";
		
		public static readonly string YES = "yes";

		public static readonly string NO = "no";

		public static readonly string LOGIC_TAG_FILTER = "F";

		public static readonly string LOGIC_TAG_CONFIG = "C";

		public static readonly string LOGIC_TAG_PROGRAM = "P";

		public static readonly string LOGIC_TAG_RULE = "R";

		public static readonly string LOGIC_TAG_SUBMIT = "S";
		
		public static readonly string ERROR_MESSSAG_MODAL = "modal";

		public static readonly string INNER_EXPORT_MHT_BUTTON = "Inner_Export_Mht_Button";

		//CID 0335 //2009.06.22 //Begin
		public static readonly string INNER_EXPORT_HTML4FF_BUTTON = "Inner_Export_Html4FF_Button";
		//CID 0335 //2009.06.22 //End

		public static readonly string WEB_ADAPTER_PREFIX = "InfoJet_Web_Adapter_";
		
		public static readonly int DATAVALI_NOTHING = - 1;
		public static readonly int DATAVALI_FALSE = 0;
		public static readonly int DATAVALI_TRUE = 1;
		
		public static readonly string VER_2003 = "1.0.0.0";
		public static readonly string VER_2003SP1 = "1.100.0.0";

		public static readonly string AttributeName = "attribute";

		public static readonly string xdInlineFile = "xdInlineFile:";

		//CID 0042 //2008.09.08 //Begin
		public static readonly string WebServiceUrlValueKeyPrefix = "WebServiceUrl:";
		//CID 0042 //2008.09.08 //End

		//CID 0119 //2008.09.20 //Begin
		public static readonly string ReusedSessionIDForLocalWebServiceKey = "ReusedSessionIDForLocalWebServiceKey:";
		//CID 0119 //2008.09.20 //End

		//CID 0504 //2010.02.26 //Begin
		public static readonly int MAX_LOOP_COUNT = 15;
		//CID 0504 //2010.02.26 //End
	}
}